package com.kaver.sso.dao.po;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.kaver.sso.dao.BaseModel;
    import com.baomidou.mybatisplus.annotation.TableId;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 权限
    * </p>
*
* @author roc
* @since 2021-08-17
*/
    @Data
        @EqualsAndHashCode(callSuper = true)
    @Accessors(chain = true)
    public class SsoRights extends BaseModel {

    private static final long serialVersionUID = 1L;

            /**
            * 主键
            */
            @TableId(value = "id", type = IdType.AUTO)
    private Long id;

            /**
            * 分组id
            */
    private Long groupId;

            /**
            * 权限名称
            */
    private String rightName;

            /**
            * 权限标识符
            */
    private String rightIdentifier;

            /**
            * 图标
            */
    private String icon;

            /**
            * 权限类型：1：菜单 2：按钮 3：接口
            */
    private String rightType;

            /**
            * 父级权限id
            */
    private Long parentId;


}
